Closes the wait dialog.

public static void CloseWaitBox()
If the wait dialog is not open, this method does nothing.
See WaitBox for a usage example.