How to make the thank you page appears in a pop up and the user can simply close it.