Additional logic for delete page.