windows removed when closed