fixing bug tray click when login dialog open