Fix focus and enter issues on dialogs.

Allow submit on `enter` on `gitPush` and `gitAuth` dialog.

@ussuri