Add layer to QGIS after calc and close dialog