 
     if $.support.transition && @$element.hasClass('fade')
       @$element
-        .one('bsTransitionEnd', $.proxy(@hideModal, @))
+        .one('miceTransitionEnd', $.proxy(@hideModal, @))
         .emulateTransitionEnd(300)
     else
       @hideModal()


      if $.support.transition && @$element.hasClass('fade')
        @$backdrop
          .one('bsTransitionEnd', callbackRemove)
          .emulateTransitionEnd(150)
      else
        callbackRemove()

      return unless callback

      if doAnimate
        @$backdrop.one('miceTransitionEnd', callback).emulateTransitionEnd(150)
      else
        callback()

