Default modal:
It's named modalFrame1
and when you click the X is closes as expected. The close button code is:
Action: Control component
Component: modalFrame1
Method: Set hidden
(nothing set in advanced)
I created a new modal, called modalCustom
. I set the close button to the same as default, but change component
to modalCustom
- it no longer works.
Note: setting Method to Hide
or Toggle hidden
also does not work.
I even did the run query
to run JavaScript, or run script
and inserted the same modal close
code - it'll work with an external button on the modal, but not the close button on the modal itself.
Edit:
So… new modal… added all the components, but I didn't touch the "X" button. It's the default name. It closes! I change the names… it still closes. So this one button works, but the rest didn't? I've had to remove it altogether to keep the UI consistent.