code: protected function createComponentStructureRecipeRemoveModal() : object
      {
          $control = $this->IStructure_RecipeRemoveModal->create();
  
          $control->onRemove[] = function ()
          {
              $this->getComponent('structureRecipeModal')->redrawControl('modal');
              $this->getComponent('structureRecipeSummaryModal')->redrawControl('modal');
          };
  
          $control->onOpen[] = function () use ($control)
          {
              $control->redrawControl('modal');
          };
  
          return $control;
      }
docs: Modální okno pro odstranění
  @return RecipeRemoveModal