code: protected function createComponentStructureStructureRemoveModal() : object
      {
          $control = $this->IStructure_StructureRemoveModal->create();
  
          $control->onRemove[] = function () use ($control)
          {
              $control->redrawControl();
              $this->redrawPrinters();
          };
  
          $control->onOpen[] = function () use ($control)
          {
              $control->redrawControl('modal');
          };
  
          return $control;
      }
docs: Modální okno pro odstranění
  @return StructureRemoveModal