I understand that I can set in the url which opens a modal popup, the return url for when a modal is closed. however I require to go to a url which has a querystring value but I do not know the value until the after the popup is opened.
How can I set up a button to close the popup and navigate to a new page?
I have tried
but this does not produce the desired result.
thanks for the help