Added a InfoDialog box for error messages