close the window to continue