 (cmd/command {:command :open-file
               :desc "File: Open file"
               :exec (fn []
-                      (dialogs/file opener :open!))})
+                      (open-input opener :open-dialog!))})
 
 (cmd/command {:command :open-path
               :desc "File: Open path"

          :reaction (fn [this bool]
                      (object/merge! this {:open-linked-doc bool})))

(behavior ::open-standard-editor
                  :triggers #{:open!}
                  :reaction (fn [obj path]

;; transient docs
;;**********************************************************

(defn open-input [this & [ev dir?]]
  (ipc/call this (or ev :open!)
            :dialog.showOpenDialog ipc/win {:properties [(if dir? :openDirectory :openFile)
                                                         :multiSelections]}))

(defn save-input [this path]
  (ipc/call this :save-as!
