Fixes #3465 : Improve wide/tall popup management
Merge pull request #167 from VinceMacBuche/bug_3465/improve_jspopup

Fixes #3465 : Improve wide/tall popup management