           else
             data[key] = value
 
+      return data
+
+    _render: () ->
       @updateTitle()
-      @_renderDom(data)
+      @renderDom()
 
     render: () ->
       @onBeforeRender()

      _.each @regions, (region) ->
        region.close()

      @remove()
      @unbind()
      cleanObject()
      return @


    close: () ->
      @empty()
      dispose()

  class Regions
    constructor: (regions = {}, $context) ->
