How to set the default modal action when clicking a row

Is it possible to set the default action when clicking a row to edit? I know this is possible by overwriting the recordUrl() function of the table. That however always opens a new page. I want to utilize the modals that are being used when no recordUrl is passed. Code:
Tables\Actions\ActionGroup::make([
Tables\Actions\ViewAction::make(),
Tables\Actions\EditAction::make()
->color('warning'),
Tables\Actions\DissociateAction::make(),
Tables\Actions\DeleteAction::make(),
]),
Tables\Actions\ActionGroup::make([
Tables\Actions\ViewAction::make(),
Tables\Actions\EditAction::make()
->color('warning'),
Tables\Actions\DissociateAction::make(),
Tables\Actions\DeleteAction::make(),
]),
Thanks :)
2 Replies