feature(dom) Dialog: add confirm