     om/IInitState
     (init-state [_]
       {:last-params {}
+       :chan-modal-act (chan)
        :chan-thumbnails-modal-edit-form-open-for-id (chan)})
     om/IWillMount
     (will-mount [this]

                             {:opts {:onClick-fn
                                     (fn [_ id]
                                       (println "id:" id)
                                       (put! chan-thumbnails-modal-edit-form-open-for-id id)
                                       (modal-show (:modal app))
                                       1)}}))
                 (:list app)))

               (om/build thumbnails-modal-edit-form (:modal app)
                         {:opts {:chan-load-for-id chan-thumbnails-modal-edit-form-open-for-id

(def files-view-app-init
  {:list []
   :last-params {}
   :modal-act actions-modal-app-init
   :modal files-modal-edit-form-app-init})

(defn files-view [app owner {:keys [uri params
