using indeterminate state for progress bar while deleting existing index