Behavior when logged out in 2nd tab

I have a component on an auth middleware route.

I can save the form logged in.

If I log out in a 2nd tab and try to save the form in a tab still on the form I see a promise error but I don’t see a way to try catch the error to show a message to the user to refresh the page or redirect them to the login.

Any thoughts or suggestions?

Thanks in advance.

add poll to the view. This I think will show that the session has ended.