Fix dialogs.
Fix finding fields in RegistrationDialog.