add after() method that deletes all pages on the toDelete List