How to Show a Modal Dialog with Buttons and Action Scripts

Dan Shockley:
Can someone point me to where in the documentation I can figure out how to show a modal dialog with a message, and two buttons, and have one of the buttons run a named action script, while the other just dismisses the dialog? I’ve been digging around through the “showModal” documentation, and searching the forum, and it seems like buttons don’t work, or people don’t want to use them?
Link: https://docs.fmbetterforms.com/reference/actions-processor/actions_overview/showmodal
Do I need to use slots instead, so that I can attach javascript to run a named action?


Delfs:
often people dont choose becasue the styling is opinionated. one sec …


Delfs:
Do you want a custom modal or the default syzstem one with extra buttons


Delfs:
There are a number of default in this example “Example - Modals”
https://examplesdev.fmbetterforms.com/#/form/257492AD-08FE-E44B-9D24-2B8E0FC5360F


Delfs:
Also Card Modal (custom) examples


Dan Shockley:
That worked well - I was able to use one of those examples to base the modal I needed. Thank you!