fixed npe and dialog issues in the BaseForecastErrorListener