add advanced dialog