reworked dialog