#346: dialog resize fixed.