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
Merge branch 'feature/9756_non_modal_algorithm_dialogs' into develop