Filter modal layout footer actions not centered

I have created a custom filter for my table, using a ToggleButtons form field. When I use the Modal filter layout, I am able to align the modal title to the center by using this:
php 
->filtersTriggerAction(
  fn (Action $action) => $action
    ->button()
    ->label('Filter')
    ->closeModalByClickingAway(true)
    ->modalAlignment(Alignment::Center),
)

But the footerActionsAlignment does not seem to follow, as they are stuck in the Start alignment

Is this a bug, or should I do something else to get set footerActionsAlignment::Center?
image.png
Was this page helpful?