Set up ctools modal for Edit forms.
Merge pull request #5593 from openscholar/media_draggable_edit

Set up ctools modal for Edit forms.