Info on Goto new window in desktop app

Hi,
when I goto new window with back button the previous one is in App class but when I redo to it all window is refreshed so I lose the previous state. There is a way to back without force a refresh?

Unfortunately I don’t fully understand the issue. Could you open a bit it?