Added confirmation modules to delete function