Close user dialog on logout

Currently when logging out of the back office, then logging back in with a different user, the new user still see's the old users dialog, with name, and recent history. Calling close() fixes the issue.