added spec to ensure that login dialog is not closed on ESC press