sole.log('dialog opened!');
        });

        dialog.addEventListener('dialog-closed', () => {
          console.log('dialog closed!');
        });
      </script>
    </main>
  </div>

</body>

</html>