#1 add dialog component