I love using native web elements, but with <dialog> there are a bunch of small quirks and cross browser differences. I decided to make a tiny library (850 bytes gzipped) around the dialog element so solve these.
NanoModal is accessible, has animations and it is easy to customize using CSS. I already started using it on my projects.
Please let me know what you think and if you find any issues with it, thank you!