I was caught by surprise, during development, I have returned response with back() and inertia would redirect properly. Pushing the application to production showed a different behavior. The same response result is shown in modal.
Has anyone faced the same issue? If so, how did you fix it?