fixing alt+f4 in login dialog