handle progress for before showing dialog