I was reading the FAQ samples on the site and found the "make panel floating" very handy:
Just one question as I cannot get this solved after looking and GUI spying for some time now: how do I dock this panel again when I click the [X] close button on the floating panel? The panel is off the panel tab when floating, it is not destroyed. Cannot find a method to hook into now for docking instead of closing / hiding.
Thanks, Matthias