                                                          " to the Google Bucket associated with this workspace."))
                                    :on-success (:on-submission-success props)})])
          (this :-render-main)
-         (clear-both)]]))
+         (common/clear-both)]]))
    :-render-sidebar
    (fn [{:keys [props state this]}]
      (let [{:keys [editing? loaded-config inputs-outputs]} @state

   (fn [{:keys [props state refs]}]
     (let [{:keys [workspace-id]} props
           config (-> @state :loaded-config :methodConfiguration)
           [name root-entity-type] (get-text refs "confname" "rootentitytype")
           deref-vals (fn [io-key ref-prefix]
                        (->> (io-key (:inputs-outputs @state))
                             (map :name)
                             (map (juxt identity #(get-text refs (str ref-prefix "_" %))))
                             (into {})))]
       (swap! state assoc :blocker "Updating...")
       (endpoints/call-ajax-orch

                                     (swap! state assoc :error (:message (get-parsed-response)))))}))
                    (swap! state assoc :error status-text)))}))
   :load-new-method-template
   (fn [{:keys [state refs]} new-snapshot-id]
     (let [[method-namespace method-name] (map (fn [key]
                                                 (get-in (:loaded-config @state)
                                                         [:methodConfiguration :methodRepoMethod key]))
                                               [:methodNamespace :methodName])
           config-namespace+name (select-keys (get-in @state [:loaded-config :methodConfiguration])
                                              [:namespace :name])
           method-ref {:methodNamespace method-namespace
                       :methodName method-name
                       :methodVersion new-snapshot-id}]
