add option to show progress in dialog instead of status bar