     @postRender()
 
     # Disable scroll on body
-    $('body').addClass 'is-modal'
+    @scrollbar.set()
 
     # Fade in
     _.defer => @$el.attr 'data-state', 'open'

_                 = require 'underscore'
Backbone          = require 'backbone'
mediator          = require '../../lib/mediator.coffee'
modalTemplate     = -> require('./modal.jade') arguments...
Transition        = require '../mixins/transition.coffee'
{ isTouchDevice } = require '../../components/util/device.coffee'

module.exports = class ModalView extends Backbone.View
  id: 'modal'

      attr('data-state', 'closed').
      one($.support.transition.end, =>
        # Re-enable scrolling
        @scrollbar.reset()

        mediator.trigger 'modal:closed'

