Add shortcut to close pane