The modern progress bar tracks progress by pages. Since your survey may not have page breaks (i.e., it is a single-page survey), it is not working. Please add the page break to make it work.
Here is the helpfile for page break: https://www.questionpro.com/help/page-breaks.html