The problem is: if I hide the window with the hide () API, after using the show () API to see the window again, the page in the form reloads. This is a big deal if, for example, I have a form on this page. All the data the user wrote is lost! Are there solutions for this problem? What did I do wrong?