Fixed issue with video not stopping when modal window is closed