edit-dialog: fix sizing issue