close panel if cancelled
Merge branch '21_cancel_quick_window'. fix #21