Modal dialogs without React (or JavaScript)

This is probably old news, but it went under my radar. This weekend, I was tinkering with a little hobby project and stumbled on MDN docs for <button> element . I noticed a relatively unfamiliar command attribute, which can take values such as "show-modal" and "request-close", among others. This led me to discover the native HTML <dialog> element , which is supported by all major browsers for…