rlayNode, dialogNode) => {

              dialogOverlayNode.innerHTML = 'doesnt close on escape or outside click';
              const button = document.createElement('button');
              button.innerHTML = 'close';

              button.addEventListener('click', () => {
                dialog.close();
              })

              dialogOverlayNode.appendChild(button);
            }
          });
        });

        litHtml.addEventListener('click', (e) => {
          dialog.open({
            invok