   {scrollY} = window
   top +=  scrollY
   componentModel.update(
+    scrollY: scrollY
     closeScroll: ->
-      scrollTo(scrollY)
+      scrollTo(@scrollY)
   )
   scrollTo(top)
   body.classList.add('cc-opened')

  body.classList.remove('cc-opened')
  componentModel.closeScroll?()

coachAPI.handleError = (error) ->
  channel.emit('error', error)
  console.info(error)

    CCWrapped.unmountFrom(modalNode)
    mountNode.removeChild(modalNode)

  @component = component = CCWrapped.render(modalNode, props)
  @close = props.close

  # componentModel.update({component})

  @component

