[16.0] [ADD] [FIX] Dialog to create gemoetry when geom field is empty in records panel
While I was integrating the base_geoengine module in my module that adds maps and geometry to tasks and projects i noticed that when i click on a task that has no geometry, in the geoengine view record panel, an error appears.
In the base_geoengine_demo this error doesn't appear because the records are filtered only to show the ones with geometry, but I thought what if that was not the case like in my situation.
The error appeared because in the geoengine_renderer.esm.js the function onDisplayPopupRecord checked only if the feature is undefined and not for the situations when it is null or false. I changed it so that it checks for all falsy values.
Then because it caused nothing to happen when we click on a record with no geometry I went a step further and added a Conformation dialog that asks us if we want to add geometry to the record and if we do it opens an Edit Record dialog and if we don't it just closes the dialog.
Because an error also appeared when we clicked on the zoom to button I also added another check in the zoomOnFeature function to check if the feature exists when checking if the map_view exists.