8 – OpenDialogCommand how to include Buttons in dialog_options

In the $options array the element “buttons” must be a “multiple” array.
For example:

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