fix dialog: watch dialog height at init