anchor.diff:    $(dialog.div).addClass('video-modal');
   
     dialog.show();
  -  body.tabs();
  +  // console.log(body);
  +  body.tabs({
  +    activate : function(event, ui) {
  +      if (ui.newTab.contents().attr('href') === "#video") {
  +        // If it is the video page, restor the src
  +        $('#video').get(0).src = options.src;
  +      } else {
  +        $('#video').get(0).src = '';
  +      }
  +    }
  +  });
     $('.modal-backdrop').addClass('video-backdrop');  // Hack to fix z-index.
   }
   
  
positive.code:   }
    modalBody.append(body);
    this.div.append(modalBody).appendTo($(document.body));
    
    if (options.onHidden) {
      $(this.div).on(
          'hidden.bs.modal',
  
negative.code:           options.onHidden();
          });
    }
  
    if (options.onKeydown) {
      $(this.div).on('keydown', options.onKeydown);
    }
  