An alert should appear when this window is closed.