Add progress dialog when deleting an instance