If the user clicks on OK, I would like to have the text modified to change ' into ’ and then have the new text pasted (not sure if that is even a word) into the active document.
Modified how? Changed into what? Based on what rules? Pasted where?