Backported from release-243 a P2 fix (#4822)

Merge pull request #4822 from Wikia/MWEB-1008
MWEB-1008 P2 fix for adding pins on a map in modal