message: Prevent console error in `close-out-of-view-modals`
diff: @@ -4,18 +4,18 @@ import delegate from 'delegate';
  const observer = new IntersectionObserver(([{intersectionRatio, target}]) => {
  if (intersectionRatio === 0) {
  observer.unobserve(target);
  - select(`
  + const dropdown = select(`
  .dropdown-details[open] summary,
  body.menu-active .modal-backdrop
  - `).click();
  + `);
  + if (dropdown) {
  + dropdown.click();
  + }
  }
  });
  export default function () {
  - delegate(`
  - .dropdown-details,
  - .js-menu-target
  - `, 'click', event => {
  + delegate('.dropdown-details, .js-menu-target', 'click', event => {
  const button = event.delegateTarget;
  const modal = button
  .closest('.select-menu, .dropdown')
  