set isDirty instead of form pirstine