extraModalFooterActions in EditAction modal

php 
    protected function getFormActions(): array
    {
      return [
          ...parent::getFormActions(),
          Action::make('close')
              ->action('saveAndClose'),
        ];
    }

how can I do this in the edit modal?
Was this page helpful?