make popups more predictable

Related to https://github.com/ArcBees/GWTP/issues/554
Also, make sure it works on IE8. I know some people that use that functionality because they are using IE8