Resetting dialogs on logout