   #onmousedown handlers
   baseDown: (event) ->
 
+    #the order actually matters here, need to hide the equation editor first
+    #so the equations get saved to the underlying object before the props
+    #editor sends them to addie
+    @ve.equationEditor.hide()
     @ve.propsEditor.hide()
-    @ve.equationEditor.hide()
 
     #get the list of objects the mouse click intersected
     #@ve.scene.updateMatrixWorld()

        name: "model0",
        sys: "root",
        params: "",
        eqtns: ""
      }
      @id = {
        name: "model0",

        continue if k == 'endpoints'
        continue if k == 'interfaces'
        continue if k == 'path'
        continue if k == 'equations'
        continue if k == 'name' and @elements.length > 1
        addProp(ps, k, v)

