added confirmation dialog before deleting task