When a main application window is closed by the user, all associated subordinate windows and dialog boxes should also close.