Copy link to clipboard
Copied
Hi,
How can I tell whether the user dismissed a modal dialogue by clicking on the default close button - the X button?
My own cancel button is working, but when the X button is clicked it doesn't call the cancel function and the script continues running as though OK was clicked.
Thanks,
Ariel
Copy link to clipboard
Copied
I'm Mac User, so the X button doesn't appear on dialog window.
When create new dialog, use { closeButton: false } option may be resolved this.
Do you need the X button?
thanks,
mg
Copy link to clipboard
Copied
Hi,
Thanks very much for this answer. I haven't had a chance to check it out
yet, I'll post back when I have.
Thanks,
Ariel