embed window closes and country switches on different country click