Add message box with error if connection to PostGIS failed