Revert "Issue #2272567 by David_Rothstein: Media dialog appears underneath the Ctools modal dialog when using jQuery UI 1.10" This reverts commit 4494ac62.