adds confirmation for delete action