Add Closed event to Window. Properly handle closing of dialogs.
A dialog is now always "closed" when Respond is called. The CloseRequested
and Closed events are fired. A respond can be canceled by a CloseRequested
handler. Added unit tests to verify all this semantic.