bug fixed where video still plays after you close the modal