Feature: adding ability to set isDirty back to false