sort and refine dialogs completed