LPS-38361 extend the right class to remove duplicated code (no logic changes)
LPS-38361 add an attribute to the context when the validation finishes so that we know if the error has happened after the validation or before the validation
LPS-38361 UI to let the user know if the error happened when validating or after the validation had started