added loading indicator when deleting batches