add keydown event postfix for login dialog