Avoid leaving the first empty document window open when opening a file in MDI mode

More in line with the customary behavior on Mac (the only platform that defaults to MDI mode).