Added IsDirty for @cjones142