I created a dockpane with a cancel button, I want to close (not hide) the dockpane when I click cancel.