Disable ok button for adding a key to a contact, if the data is invalid.