I have some code I want to run when a modal dialog closes. How do I capture that event?
What type of dialog is it? Is it a form that is opened in a dialog?
Yes, a dialog opened by a Sharepoint List/Library control.
I have (temporarily) added my code to the spBeforeSave, but if I keep the code here, I want the ability to stop form from closing if there is an error.