fixed Unauthorized problem

The Unauthorized error was thrown because the msg messageDialog was
created twice and both tried to ShowAsync. Because one is already up,
the second calls a problem.