Hello Neo,
How are you clossing the window in the button click event? Executing the following code will close the window from the content page.
Client code:
Could you paste the code that you tried if that is different from this? Is this happening for any particular browser?
Thanks,
Princy