Test closing from Windows menu.