Fix #1314 : Fix editing modal resize
Merge pull request #503 from romainneutron/fix-1314

[3.8] Fix #1314 : Fix editing modal resize