(NonModalDialog.Shutdown): New method which does what OnClose did, but can be called by the application to close a window. Needed when a session changes, and we have to close the classifier windows.