Fix: Creating a new window during a window's close function could sidestep the modal_window system. This could lead to multiple main menu dialogs being displayed at the same time after using the options and TH data browser windows.

git-svn-id: http://corsix-th.googlecode.com/svn/trunk@1961 c39591fa-788f-11de-a72b-d90af8dea425