← Stop Writing JavaScript to Open Dialogs. `commandfor` Fixes It.
Playground

command / commandfor — interactive playground

preview

Edits run in a sandbox in your browser — nothing is saved and nothing leaves the page.