Make the parent of the modal dialog be the progress bar window.