fixes popup flicker on second click

Had the marker popup binding wrong. Was adding a second popup. Now check
if popop exists on marker.