        :touch-enabled? false})
     om/IDidMount
     (did-mount [_]
+      (fdb/watch-doc-name-changes owner)
       (om/set-state! owner :touch-enabled? (.hasOwnProperty js/window "ontouchstart"))
       (d/listen! (om/get-shared owner :db)
                  (om/get-state owner :listener-key)

            [frontend.components.common :as common]
            [frontend.datascript :as ds]
            [frontend.datetime :as datetime]
            [frontend.models.chat :as chat-model]
            [frontend.state :as state]
            [frontend.utils :as utils :include-macros true]
            [goog.date]
            [goog.dom]

      (let [{:keys [cast! db]} (om/get-shared owner)
            chats (ds/touch-all '[:find ?t :where [?t :chat/body]] @db)
            chat-bot (:document/chat-bot (d/entity @db (ffirst (d/q '[:find ?t :where [?t :document/name]] @db))))
            doc (doc-model/find-by-id @db (:document/id app))
            dummy-chat {:chat/body [:span
                                    "Welcome, try the "
                                    [:a {:href "https://precursorapp.com/document/17592197661008" :target "_blank"}
