added pages dialog to layout in admin box