stop videos playing once the modal window is closed