Split Close menu item out from WindowMenuFactory.