key listener for <Enter> and <Esc> added in LoginPopup