I made the root page dynamic route using searchParams.

searchParams:
{}

page loaded time: 2024-09-24 06:25:01.903
Random number(1-100): 23

When the button is pressed, the modal is opened with intercepting routes and the method in the server action is executed when the component is mounted. The method has an execution time of 3 seconds.

intercepting-routes-with-server-action-modal-open

When interception routes are terminated by pressing the back button without completing the server action in the modal, app/page.tsx is newly called.