             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

                                       (send-message!)))

                                   KeyCodes.ESC (do
                                                  (om/set-state! owner :force-close? true))

                                   KeyCodes.UP (when autocomplete-open?
                                                 (.preventDefault e)
