I have created a table with rows of data. When clicking I have the scope available of the element selected. This then brings up a modal popup.

But when editing the modal it will obviously change the binding data on the row. But i only want to do this on save. How can i achieve this?