Fixed dialog popups for new page and next page