pop up : close redirection url

hello,
I would like to redirect visitors to one url when they click on close pop up.

Do you have a solution code ?

thank you