keep modal and inline edited data in sync