How can be changed the css style (color) of borders of input boxes with failed validation to red in modal panel? (And back to black after successful validation)