add close window
fix