Change the application's attribute quitOnLastWindowClosed to force the
application to be closed even there are child objects opened.