fix(forms): compare new value with original value for dirty checking

related to CAM-2983