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

    @$window = $(window)
    @$window.on 'keyup', @escape
    @$window.on 'resize', @resize

    mediator.on 'modal:close', @close, this
    mediator.on 'modal:opened', @updatePosition, this

_                   = require 'underscore'
Backbone            = require 'backbone'
mediator            = require '../../lib/mediator.coffee'
Transition          = require '../mixins/transition.coffee'
{ isTouchDevice }   = require '../../components/util/device.coffee'
Scrollbar           = require '../../lib/scrollbar.coffee'

modalTemplate = -> require('./modal.jade') arguments...

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