Made addPopup more compatible with the new popups, refs: geomoose/geomoose#53