Update icon visibility on dialog after error when hitting run.

The updateIconVisibility method now accepts an error string so that
it doesn't have to recheck the property if it already has the error
string from it.
Refs #9756