I used a public method to configure a pop-up window to display the content of the pop-up window. When I completed the operation and wanted it to jump to another address, the pop-up window could not be closed. I would like to know how everyone solved it and what good solutions they have.