fixed embed panel opening when url is dodgy