I have a link when clicked, shows the New Item dialog. When the user clicks 'Save', the list item is added. Is there a way to attach the dialog's onClose event to another piece of code? Or can I somehow listen for when this dialog closes and refresh the page (so the new item shows in my custom list view)?
Here is the link that opens the dialog: