adding progress bar to display when validation is starting