add cache delete confirm func