I have a wiki page with a link on it which when clicked opens a modal dialog to a document set's new form page.
When the Cancel button on the modal dialog is clicked, the dialog closes, as expected.
But when the Save button is clicked, the modal closes and the page redirects to the new document set's home page.
How can I have the modal dialog simply close when the Save button is clicked, rather than redirect to the document set's home page?