fix: UI: Panes: Allow detaching of a pane
https://bugs.activestate.com/show_bug.cgi?id=104130

(integrated from master branch change ba7f145 by Todd Whiteman <toddw@activestate.com>)