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

      return unless callback

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



      if transition
        @$element.find('.modal-dialog') # wait for modal to slide in
          .one 'miceTransitionEnd', -> @$element.trigger('focus').trigger(e)
          .emulateTransitionEnd(300)
      else
        @$element.trigger('focus').trigger(e)
