cancel button added to login dialog