added back, save, cancel functionality for edits