Add close window functionality.