Dialog box on errors (issue #175)