Protected removal of parts with a confirm() box.