Tablet mode in Windows and two page application


First of all thanks to all the Electron community for such a fantastic project.

I am new to Electron and I have a big problem closing windows in Tablet mode in Windows 10. I have a multi page application. I open a Window with an URL from a always on top window. The problem is that when I close this Window I return to the tiles Window and not to the always on top Window. This behaviour doesn’t happen in desktop mode. I’ve tried keeping lots of things like trying to keep the main Window alive checking the Windows on screen with an interval and when there is only one trying to maximize it. Am I missing something?