This method is called by MDIApplication when the application is quitting.
The listener should do something appropriate (if the listener is a window,
the window should be closed, if the listener needs to ask the user something
before quitting, it should do so at this time). To request that
the quit be canceled, return true, else return false to continue with
the quit.