Reworked dialogs edc to scale better