diff --git a/packages/actions/docs/02-modals.md b/packages/actions/docs/02-modals.md
index 9736f6c7a2..be04d1c82e 100644
--- a/packages/actions/docs/02-modals.md
+++ b/packages/actions/docs/02-modals.md
@@ -671,7 +671,7 @@ Action::make('updateAuthor')
The `closeModalByClickingAway()` method also accepts a function to dynamically calculate the value. You can inject various utilities into the function as parameters.
-If you'd like to change the behavior for all modals in the application, you can do so by calling `Modal::closedByClickingAway()` inside a service provider or middleware:
+If you'd like to change the behavior for all modals in the application, you can do so by calling `ModalComponent::closedByClickingAway()` inside a service provider or middleware:
```php
use Filament\Support\View\Components\ModalComponent;
@@ -698,7 +698,7 @@ Action::make('updateAuthor')
The `closeModalByEscaping()` method also accepts a function to dynamically calculate the value. You can inject various utilities into the function as parameters.
-If you'd like to change the behavior for all modals in the application, you can do so by calling `Modal::closedByEscaping()` inside a service provider or middleware:
+If you'd like to change the behavior for all modals in the application, you can do so by calling `ModalComponent::closedByEscaping()` inside a service provider or middleware:
```php
use Filament\Support\View\Components\ModalComponent;
@@ -725,7 +725,7 @@ Action::make('updateAuthor')
The `modalCloseButton()` method also accepts a function to dynamically calculate the value. You can inject various utilities into the function as parameters.
-If you'd like to hide the close button for all modals in the application, you can do so by calling `Modal::closeButton(false)` inside a service provider or middleware:
+If you'd like to hide the close button for all modals in the application, you can do so by calling `ModalComponent::closeButton(false)` inside a service provider or middleware:
```php
use Filament\Support\View\Components\ModalComponent;
@@ -752,7 +752,7 @@ Action::make('updateAuthor')
The `modalAutofocus()` method also accepts a function to dynamically calculate the value. You can inject various utilities into the function as parameters.
-If you'd like to disable autofocus for all modals in the application, you can do so by calling `Modal::autofocus(false)` inside a service provider or middleware:
+If you'd like to disable autofocus for all modals in the application, you can do so by calling `ModalComponent::autofocus(false)` inside a service provider or middleware:
```php
use Filament\Support\View\Components\ModalComponent;