added delete confirmation dialog