Add detail pages and popup dialog