Close this panel by click on (X Close) or by press (Escape key) Will update this preference on event `beforeclose`.