export function executeAction(actionId, candidates) {
  const action = findAction(actionId);
  if (action && action.contentHandler) {
    const f = action.contentHandler;
    return f.call(this, candidates);