public removePane(pane as DockPane) as Boolean:
Removes a side pane and its fixed dock-bar button.
True when the pane belonged to this workspace.
workspace.removePane(chatPane)