MORTEVIELLE: Introduce DialogManager and get rid of static functions