Share selection state between frames.  Fix the dragging issues by putting shims over content iframes; the jquery-ui iframeFix option only adds static shims to iframes on the page, not ones that move with iframes if the iframes are part of the moving element.