     domainsContainer = new EnvironmentDomainContainer
     @scene.addContainer domainsContainer
 
+    domainsContainer.on 'itemRemoved', @lazyBound('updateView', yes)
+    domainsContainer.on 'itemAdded',   @lazyBound('updateView', yes)
+
     # VMs / Machines Container
     machinesContainer = new EnvironmentMachineContainer
     @scene.addContainer machinesContainer

      cssClass : 'stack-toggle'
      callback : =>
        @setHeight if @getHeight() < 300 then 600 else 36
        @scene.updateConnections()
        KD.utils.wait 200, => @scene.updateScene()

    # Main scene for DIA
    @addSubView @scene = new EnvironmentScene

    extrasContainer = new EnvironmentExtraContainer
    @scene.addContainer extrasContainer

  updateView:(updateData = no)->

    @scene.updateConnections()  if updateData

    @scene.highlightLines()
    @scene.updateScene()
