Add all pages and dialog on page.