Bug #1016257 - fix ordering of modal dialog div, fixes #3077.
Merge pull request #3108 from waldenraines/bug-3077

Bug #1016257 - fix ordering of modal dialog div, fixes #3077.