Added dirtychange event

Added two lines to fire the dirtychange event for both the true and false scenarios. (e.g. when a field is being edited dirty = true, and when the form submits the values and calls setValues() if trackResetOnLoad is true for the form, then dirty = false)