Remove pages

Removes the selected pages and keeps the rest.