handle progress and done dialogs