[OE-3861] Hide validation error div when cancelling an add or edit.
[OE-3861] Use selectors to avoid disabling/enabling the wrong buttons.