Cosmetic: `Wizard.CloseDialog` does the same thing in a matching namespace.
Putting it to an `ensure` block will maintain UI consistency in case of exception.