"Dialog: added ownerDocument context to a query. Fixed #9439 - Dragging a modal dialog appended to an iframe body causes console error as ownerDocument is not respected.

http://bugs.jqueryui.com/ticket/9439