Force page refresh on session expiration

Product: PowerShell Universal
Version: 4.2.20

I have an app that many people will load at the beginning of the day and just leave open to use sporadically. Often their session will expire, or the browser will put the tab to sleep causing the page to go idle and expire with no notice to the user. When going back to the page it will allow them to do certain things in the page, but not everything.

Is there a way to force the app to go back to the login screen when the session expires?