ment.id = id
            const parent = realm === 'dialog' ? document.querySelector('.modal-dialog-contents') : document.body
            parent.appendChild(this._element) // write
          }
          requestPostAnimationFrame(() => {
            const { left, top } = this.calculateLeftAndTop()
            this._autosuggest = new ComposeAutosuggestContainer({
              target: this._element,
              data: {
                realm,
                text,
                dialogId,
                le