All windows get closed if the main window is closed by the user.