I am using the SP.UI.ModalDialog to popup a custom form. The form uses an XSL stylesheet that uses the GenFireServerEvent to commit the data. This works correctly, but I want to close the popup once the data is saved. What do I need to do to modify this form to commit the data and close the dialog?
I am adding this so that others who stumble accross it might find it useful. I got this to work by adding a __redirect to the GenFireServerEvent like this:
Then on this page add something like this:
This is what I needed to make this work!