Yes you can modify the hotspotlogin_success template and remove the body unload which calls the popup script.