fix to progressbar...

Enabled the ability to close the progressbar once its done...oops.