fixed the modal view to work with geojson-api