Allow controlling login dialog with enter key