change delete to cancel (editor)