added ability to delete pages