locdialog: layout corrections