add dialog manager