create page dialog replaced with a better one