In a button's clicked event code, I set the value of a data field - isValid - based on the validity of multiple fields in the form. For the same buton, a rule is set to close the form based on the value of the data field isValid. But the Close event does not fire even though the form is ...