video modal bug fix