 window.ClientController =
   showFact: (fact_id) ->
     fact = new Fact id: fact_id
+
     fact.on 'destroy', ->
       parent.remote.hide()
       parent.remote.stopHighlightingFactlink fact_id

      url: params.url
      csrf_token: params.csrf_token
      guided: FactlinkApp.guided

    factsNewView.on 'render', parent.onModalReady

    factsNewView.on 'factCreated', (fact) ->
      parent.highlightLastCreatedFactlink(fact.id, params.fact)

    clientModal.mainRegion.show factsNewView



    clientModal = new DiscussionModalContainer
    FactlinkApp.discussionModalRegion.show clientModal
    FactlinkApp.guided = params.guided == 'true'
    if params.fact
      mp_track("Modal: Open prepare")
    factsNewView = new FactsNewView
      layout: 'client'
      fact_text: params.fact
