Added script to expand pages menu when adding new page.