dialog, mask update

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