Adding actions modal on getHeaderActions

I have some issue when doing this, when i adding Action modals on ViewPage at getHeaderActions()
protected function getHeaderActions(): array
{
  return [
      Action::make('example_action')
                ->label('Example Action')
                ->form([
                    TextInput::make('example_input')
                        ->label('Example Input')
                        ->required(),
                ]),
          ];
}


the modal did not showing, and when i click the action button, some components being buggy(gone), did i missed something?
Was this page helpful?