8007006: [macosx] Closing subwindow loses main window menus

Reviewed-by: anthony
1 file changed