Dock CRhinoTabbedDockBarDialog

For the CSampleObjectManagerDialog from the developer samples repository on GitHub, we would like to directly dock the dialog when creating it.
I guess this could be done by changing the following code:

CRhinoTabbedDockBarDialog::OpenDockbarTab(context.m_doc, tabId);

Could Rhino show us the code for docking?

As this is a user-interface element, you should let the user decide whether or not they want the panel docked. You may want it docked, but the user may not.

– Dale