stopping video when the popup closes
fixing test