3 declare(strict_types=1);
    21     $factory = $DIC->ui()->factory();
    24     $modal = $factory->modal()->interruptive(
    25         'Interrupting something',
    26         'Am I interrupting you?',
    28     )->withActionButtonLabel(
    30     )->withCancelButtonLabel(
    34     $trigger = $factory->button()->standard(
'I will interrupt you', $modal->getShowSignal());
    36     return $renderer->render([$modal, $trigger]);
 
with_custom_labels()
 description: > An example showing how you can set a custom label for the modals action- and cancel-b...