Add a confirm dialog before deletion
Optimize the error message