changed format of dialog