we are implementing a feature in sharepoint where the user can share documents, we are reworking our own UI to make it easier for the end user. We have a modal popup where you can select multiple users, once you click okay, they will receive a email and the permissions to edit the shared document.
In the user selection, we want to use a Modal, i know sharepoint already has a Modal where you can select multiple users, i was wondering if there where any ways we could use that one and change the OnOkButtonClick event to redirect to our custom functions to give the users permissions etc...
Thanks :D