Refs #5492: make a copy of simplemodal and adjust js/css
Fixes #5492: Popup are now adjusted to their content or the window
Merge pull request #636 from VinceMacBuche/bug_5492/fix_2.6

Fixes #5492: Size of popup is now correctly computed based on data