         [ImportWorkspaceMethodsConfigurationsList {:method-confs (utils/parse-json-string
                                                                   (utils/->json-string
                                                                     (create-mock-methodconfs)))}]]
-        [comps/Button {:style :add   :text "Add selected to workspace" :onClick
-                        ;TODO
-                        ; 1) acquire list of selected confs and
-                        ; 2) use orch API (post) to copy them to the workspace
-                       (fn [] nil)}]]]]))
+        [comps/Button {:style :add   :text "Add selected to workspace"
+                       :onClick #(swap! state assoc :import-overlay-shown? false)}]]]]))
 
 
 (react/defc WorkspaceMethodsConfigurationsList
   {:render
    (fn [{:keys [props refs state]}]
      [:div {}
-      (render-import-overlay state refs)
+      (render-import-overlay state)
       [comps/Button {:text "Import Configurations ..."
                      :onClick #(swap! state assoc :import-overlay-shown? true)}]
       (if (zero? (count (:method-confs props)))

    (str k "," (get the_map k) " ; ")))



(react/defc ImportWorkspaceMethodsConfigurationsList
  {:render
   (fn [{:keys [props refs state]}]
     [:div {}
      (if (zero? (count (:method-confs props)))
        [:div {:style {:textAlign "center" :backgroundColor (:background-gray style/colors)

               cell (fn [children] [:span {:style {:paddingLeft 16}} children])]
           {:columns [{:header-component [:div {:style {:padding "13px 0 12px 12px"
                                                        :backgroundColor (:header-darkgray style/colors)}}
                                          [:input {:type "checkbox" :ref "imcallcheck"}]
                                          ]
                       :starting-width 42 :resizable? false
                       :cell-renderer (fn [row-num conf]
                                    [:div
                                      {:style {:paddingLeft 12}} [:input {
                                         :type "checkbox" :ref (str "imc_" row-num)}]])}
                      {:header-component (header "Name") :starting-width 200
                       :cell-renderer (fn [row-num conf]
                                        (cell [:a {:href "javascript:;"
