Not sure if I understand you correctly. A template grid doesn't have pages like you describe.
If you have a wizard like behaviour. Navigating through multiple pages then it all about the behavior of how you modelled the navigation between the pages.
In general, mendix is a web app, thus if you navigate from one page to another, these pages are stach upon each other. So when you close a opened page (or browser back), you automatically will end-up in the previous opened page.
In the situation of a Wizard, that's something you don't want.
My advise is when navigating within a Wizard, always close the previous page, before opening the next one. Which also requires that when you want to have buttons to navigate to a previous step, these buttons should close the previous page and REOPEN the page of the previous step.
This requires you to control this behaviour yourself in the model.
Hope this answers your question. If its not about a wizard setup, you need to give a bit more insight in what you are actually trying to achieve.