         onClick: => @props.onToggle?(true)
       ],
         "Search for #{Factlink.Global.t.factlinks} (beta)"
+
+
+ReactSearchFacts = React.createClass
+  displayName: 'ReactSearchFacts'
+
+  render: ->
+    return _div() unless @props.opened
+
+    _div ['add-comment-search-facts'],
+      ReactFactSearch
+        model: @_factSearchResults()
+        onInsert: @props.onInsert
+
+  _factSearchResults: ->
+    unless @____factSearchResults
+      recently_viewed_facts = new RecentlyViewedFacts
+      recently_viewed_facts.fetch()
+
+      @____factSearchResults = new FactSearchResults [],
+        fact_id: @props.fact.id
+        recently_viewed_facts: recently_viewed_facts
+
+    @____factSearchResults
+
 
 window.ReactAddComment = React.createBackboneClass
   displayName: 'ReactAddComment'

    @state.shareProviders[providerName] = checked
    @forceUpdate()

  _onSearchInsert: (text) =>
    @refs.textarea.insert text
    @setState searchOpened: false


      content: $.trim(@state.text)
      created_by: currentUser.toJSON()

