Show progress dialog while flushing the encoders.