Unlocking Screen Opens Different Window

Hello again,

I am having a problem when logging back in from a locked screen in my client. It seems to open a different window than was open when the screen was locked. The opened window is always one of two windows (User management, or Customer Management).

Since I am using multi-tier navigation, I have a script that “remembers” the last “sub-window” of each of the top-tier tabs (by storing it in a tag, and reading from that tag every time the top-tier tab is clicked). I figured it might have something to do with this script. However the script is linked to the tab strip, not the lock screen button, so the debug prints I’ve put into the script are not being executed as some other scripts are being carried out.

Is there a way I can find out how the “unlock screen” button is deciding which window to open upon returning?