src: fixed crash of dialog