               (swap! local update-in [:files] assoc id file))
             (recur (inc i)))))
       (dom/remove-class! (dom/by-id "dropzone-wrapper") "dropzone-active")
+      (dom/remove-class! (dom/by-id "bt-upload") "disabled")
       (debug @local))))
 
 (defn show-template

  (swap! local update-in [:files] dissoc id)
  (dom/remove! (dom/by-id id))
  (when (empty? (:files @local))
    (dom/show! (dom/by-id "drop-msg"))))

(defn remove-all-files
  [state local])

           [:h3 [:span.label.label-default (count (:items @local))] " items in collection..."]]]
         [:div.row
          (for [{:syms [?thumb ?xl]} (:items @local)]
            [:div.col-xs-4.col-md-2
             [:a.thumbnail {:href (str "/media/image/" ?xl)}
              [:img {:src (str "/media/image/" ?thumb)}]]])]
         ])))
