dialog rework