logindialog not allowed to close