Closes a window using the DockingWindow.close method.
Restores a window using the net.infonode.docking.DockingWindow.restoreWithAbort method.