Looks like a UI bug to me.
I had the same issue and was able to workaround it by switching to Certificate instead of Key, typing several chars into the Certificate field, so the button become enabled. Then I switched back to using a Key and typed the rest of the key. Just inserting the key from clipboard did not activate the button, as well as typing the key without switching to Certificate.