The focus when the Web View is closed needs to be corrected

Now when you close the web view, it will focus on the "last active app".

However, if I open Web View "trigger_named B" from Web View "trigger_named A" and then close Web View "trigger_named B", I want the focus to return to "trigger_named A".

I want the focus to be "the last active window", not "the last active app".