Remove

Removes a selected pane from the container and then closes the dialog.