A progress bar indicates that an operation is being performed. You can interrupt the operation or have the program notify you when it has finished the operation.
(Windows) choose Edit > Preferences > General.
(Mac OS) choose Photoshop > Preferences > General.