Showing Widget in Modal

I have created a (chart) widget for a resource to show the stats of a (single) resource in a line chart.

Is there a way to show this widget in a modal, when clicking on an Table (List records) Action? Somehing like:

Tables\Actions\Action::make("stats")
   ->widgets([
      MyWidget::class
    ]);
Was this page helpful?