```ruby
class ApplicationHelper::Toolbar::CatalogitemButtonsCenter < ApplicationHelper::Toolbar::Basic
  button_group('catalogitem_button_vmdb', [
    select(
      :catalogitem_button_vmdb_choice,
      nil,
      t = N_('Configuration'),
      t,
      :items => [
        button(
          :ab_group_edit,
          'pficon pficon-edit fa-lg',
          t = N_('Edit this Button Group'),
          t,
          :klass        => ApplicationHelper::Button::CatalogItemButton,
          :url_parms    => "main_div",
          :send_checked => true),
        button(
          :ab_button_new,
          'pficon pficon-add-circle-o fa-lg',
          t = N_('Add a new Button'),
          t,
          :klass => ApplicationHelper::Button::CatalogItemButtonNew),
        button(
          :ab_group_delete,
          'pficon pficon-delete fa-lg',
          t = N_('Remove this Button Group'),
          t,
          :klass        => ApplicationHelper::Button::CatalogItemButton,
          :url_parms    => "main_div",
          :send_checked => true,
          :confirm      => N_("Warning: The selected Button Group will be permanently removed!")),
      ]
    ),
  ])
end
```

Use API + remove modal to delete button group
user
```ruby
class ApplicationHelper::Toolbar::CatalogitemButtonsCenter < ApplicationHelper::Toolbar::Basic
  button_group('catalogitem_button_vmdb', [
    select(
      :catalogitem_button_vmdb_choice,
      nil,
      t = N_('Configuration'),
      t,
      :items => [
        button(
          :ab_group_edit,
          'pficon pficon-edit fa-lg',
          t = N_('Edit this Button Group'),
          t,
          :klass        => ApplicationHelper::Button::CatalogItemButton,
          :url_parms    => "main_div",
          :send_checked => true),
        button(
          :ab_button_new,
          'pficon pficon-add-circle-o fa-lg',
          t = N_('Add a new Button'),
          t,
          :klass => ApplicationHelper::Button::CatalogItemButtonNew),
        button(
          :ab_group_delete,
          'pficon pficon-delete fa-lg',
          t = N_('Remove this Button Group'),
          t,
          :klass => ApplicationHelper::Button::CatalogItemButton,
          :data  => {'function'      => 'sendDataWithRx',
                     'function-data' => {:controller     => 'provider_dialogs',
                                         :modal_title    => N_('Delete Button Group'),
                                         :modal_text     => N_('Are you sure you want to delete the following Button Group?'),
                                         :api_url        => 'custom_button_sets',
                                         :async_delete   => false,
                                         :redirect_url   => '/catalog/explorer?report_deleted=true',
                                         :transform_fn   => 'buttonGroup',
                                         :component_name => 'RemoveGenericItemModal'}})
      ]
    ),
  ])
end
```
assistant