confirm deletion of pages through modal box