code: function () {
              var t = this,
                  prefix = t.o.prefix;
  
              t.$btnPane.removeClass(prefix + 'disable');
              t.$overlay.off();
  
              // Find the modal box
              var $modalBox = $('.' + prefix + 'modal-box', $(t.doc.body));
  
              $modalBox.animate({
                  top: '-' + $modalBox.height()
              }, 100, function () {
                  $modalBox.parent().remove();
                  t.hideOverlay();
              });
  
              t.restoreRange();
          }
docs: close current modal box