Add a confirmation dialog to TE delete