In a web application, sometimes you have popups in the application.
Is it reasonable to when the user closes the main window, close all child popup windows if they are open?
keep in mind the main window will not stay on the same page, the user may navigate to other pages within the same application (meaning even if you keep a reference to all opened child windows, new page requests will loose the reference to opened windows etc).