Improved wait dialog.
Dismiss keyboard in login/register view when user pressed "GO" button.