             choose-result!
             (fn [result]
               ((result :action) (config :thread-id))
-              (om/set-state! owner :text ((result :message-transform) text))
-              (close-autocomplete!))
+              (om/set-state! owner :text ((result :message-transform) text)))
             autocomplete-open? (and (not force-close?) (not (nil? results)))]
           (dom/div #js {:className "message new"}
             (dom/textarea #js {:placeholder (config :placeholder)

            (fn []
              (om/update-state! owner :highlighted-result-index
                                #(mod (dec %) (count results))))
            highlight-clear!
            (fn []
              (om/set-state! owner :highlighted-result-index 0))
            close-autocomplete!
            (fn []
              (highlight-clear!))
            reset-state!
            (fn []
              (om/update-state! owner

                                       (if-let [result (nth results highlighted-result-index nil)]
                                         (choose-result! result)
                                         (do
                                           (om/set-state! owner :force-close? true))))
                                     ; ENTER otherwise -> send message
                                     (not e.shiftKey)
