add error dialog for loading models
merge