locdialog: layout correction