remove the window