set is_dirty in line upon calling set-data