Fix #1152 On IE7 editing on dialog box is broken
Merge pull request #751 from nlegoff/fix_ie_edit

[3.8] Fix #1152 On IE7 editing box is broken