Delete project shows confirm. Delete project with data sets shows error.

#1630