having problems showing multiple pages in a single page layout

having problems showing multiple pages in a single page layout

Hi. The large part of my app is a single page layout. However, there are a couple of pages that are multi-page layout - for example where I have dialogue boxes.

If I am currently on a single page, and link to a multi-page, only the first page of that multi-page is shown. The rest of the pages are removed from the DOM.  Refreshing the page re-shows the missing pages again.

Can anyone shed any light on this. What am I doing wrong?

Thanks