account for possible modal indexing finish under progress (IDEA-163999), add javadoc...