                     (discover-deps plugin (fn []
                                             (dom/remove (dom/parent me))
                                             (object/raise manager :refresh!)
-                                            (cmd/exec! :behaviors.reload))))
+                                            (cmd/exec! :behaviors.reload)
+                                            ;; Wait for behaviors.reload to write its message
+                                            (wait 1000 (fn []
+                                                         (notifos/set-msg! (str "Installed " (:name plugin) " " (:version plugin))))))))
            (dom/prevent e)
            (dom/stop-propagation e)))
 

  (when (:dir plugin)
    (files/delete! (:dir plugin))
    ;; :ignore-missing b/c uninstalled shows up missing
    (object/raise manager :refresh! :ignore-missing true)))

;;*********************************************************
;; Manager ui

           (dom/stop-propagation e)
           (discover-deps plugin (fn []
                                   (object/raise manager :refresh!)
                                   (cmd/exec! :behaviors.reload)
                                   ;; Wait for behaviors.reload to write its message
                                   (wait 1000 (fn []
                                                (notifos/set-msg! (str "Updated " (:name plugin) " " (:version plugin)))))))))

(defui install-button [plugin]
  [:span.install]
