This is a simple test of the re-usable XPages control 'FloatingPanel' leveraging dojo.dnd.Moveable.
Drag this panel and move it around.

Here you can add controls via an editable area or via a property of the control.