fix auth and reg dialogs