set modified_data only once to store the original value in this prop