buttons', event => {
          this.$.appControls.update(event.detail.undos, event.detail.redos);
        });

        this.addEventListener('remove-from-canvas', event => {
          const parent = event.detail.parent;
          const node = event.detail.target;
          if (parent === this.$.viewContainer) {
            this.$.viewContainer.remove(node);
          } else {
            parent.removeChild(node);
          }
          parent.click();
        });
        this.addEventListener('add-to-canvas'