copy changes on edit modal window