dialog display bug

Signed-off-by: lightning <tangguichuan@qq.com>