   render: ->
     unless @__rendered__
       @__render__()
+      @trigger 'opening'
     @postRender()
     this
 

  postRender: ->
    unless @__postRendered__
      @__postRender__()
    else
      @subView.render().$el
    this

  close: (callback) ->
    $(window).off 'keyup.modalize'
    @scrollbar.reenable()
    @trigger 'closing'
    @state 'close', =>
      @subView?.remove?()
      @remove()
      callback?()
      @trigger 'closed'
