Added default cancel action to editor.