When editing a property in the property view, only modify the resource
if the value actually changed.