A DockObject is managed by default by the dock master, use this function to make it a manual object if you want to manage the destruction of the object.
a DockObject