Thanks Jason. I wasn't sure how to write the if statement. Works now.
One other question
I know that adding the progress bar to a form creates a bad jquery-blockui-formprocessing.js
Is there a way I can permanently correct that so that the jquery-blockui-formprocessing.js that is created is good?