add appendTo interface in dialog

Signed-off-by: hancong03 <hancong03@baidu.com>