dialog close callbacks
dialog close callbacks
Is there a way to perform the callback function before the dialog
closes?
i.e. I have a box that when the user clicks close, I have a message
that says something like 'if you close this, you will lose all your
data - are you sure?' and on true, the dialog closes, but on false it
remains open...
Any ideas?