Move monkey patch.
Merge pull request #1 from adam-vessey/7.x-modal

Move monkey patch.