 
     # Render inner
     @$body = @$('.modal-body')
-    @$body.html @template()
+    @$body.html @template(@templateData)
     @$dialog = @$('.modal-dialog')
     @setWidth()
 


  initialize: (options={}) ->
    { @width } = _.defaults options, { width: '400px' }

    @resize = _.debounce @updatePosition, 100


  # then fade back in and re-center
  reRender: ->
    Transition.fade @$body,
      out:  => @$body.html @template(@templateData)
      in:   => @updatePosition()

  setWidth: (width) ->
