Refactor in CRUD deletion to ask for confirmation