show progress bar upon clicking generate btn