_dispatchCustomEvent(title, details) {
    const event2 = new CustomEvent(title, { detail: details });
    document.dispatchEvent(event2);
  }
Standard fn to create a custom event with details & dispatch it
@param {string} title The event name
@param {*} details Any details to pass to event output
@private