fix dialog regression in v0.6