anchor.diff:  
     this.div.offset(options);
   }
  -Dialog.prototype.hide = function() {
  -  // Hide let's bootstrap cleanup first, then we remove.
  -  $(this.div).modal('hide');
  -  $(this.div).remove();
  -}
   
   $(document).ready(function() {
     $('.video_link').each(function() {
  
positive.code:         if (options.redirect) {
            window.location.href = options.redirect;
          }
    });
  
    if (options.onKeydown) {
  
negative.code:   // When the dialog is hidden, unhook the keydown event handler.
    // If onHidden option is passed in, call that as well.
    // If redirect option is passed in, redirect the page.
    // After that, close the dialog.
    $(this.div).on(
        'hidden.bs.modal',
        function() {
  