Allow Lua to mark objects as unmodified
Allow Lua to mark objects as unmodified so they don't end up getting saved.