add a selection popup for the pages menu, when a page is selected