Revert model if user clicks cancel.