A view model to manage edits