     ]])
 
 (defn show-editor [model]
-  (js/console.log "showing editor for " model)
   (reset! modal
           [:div.modal-dialog
            (content-editor model)]))


(defmulti pane-view :type)

(defmethod pane-view :content-pane [pane]
  [:div.fill.full
   {:on-click #(do
                 (reset! selected-pane-id (if (is-selected pane) nil (:id pane)))

(defmethod content-view :default [pane]
  [:div.fill "blank content"])

(defn layout-editor [layout]
  [:div.fill.full
   (if @alert [:div.alert.alert-fixed.alert-dismissible {:class (str "alert-" (first @alert))}
               [:button.close {:on-click #(reset! alert nil) :aria-label "Close"}
                [:span {:aria-hidden true} "×"]] (second @alert)])
   @modal
   (pane-view (get @layout 1) layout)])

(defn split-pane [orientation]
  (if-let [pane (selected-pane)]
