OpenDialogCommand how to include Buttons in dialog_options
In the $options array the element "buttons" must be a "multiple" array.
For example:

$options = [
  'dialogClass' =&gt; 'my-dialog-class',
  'width' =&gt; '700px',
  'buttons' =&gt; [
    [
      'text' =&gt; 'Continue #1',
      'class' =&gt; 'btn-primary ok-button',
      'click' =&gt; "function() { $(this).dialog('close'); }",
    ],
    [
      'text' =&gt; 'Continue #2',
      'class' =&gt; 'btn-primary ok-button',
      'click' =&gt; "function() { $(this).dialog('close'); }",
    ],
  ],