             window.debug_unit = unit
 
         hide_details: ->
+            app.vent.trigger 'details_view:hide'
             @$el.find('.container').removeClass('details-open')
 
         enable_typeahead: (selector) ->


        initialize: ->
            @listenTo(app.vent, 'administration-divisions-fetched', @render)

        render: (divisionNamePartials)->
            @el.innerHTML = jade.template 'embedded-title-bar', 'titleText': divisionNamePartials

        preventDefault: (ev) ->
            ev.preventDefault()


            @$el.find('.container').addClass('details-open')
            @details_view.model = unit
            app.vent.trigger 'details_view:show'
            unit.fetch(success: =>
                @details_view.render()
            )
