Diverse layout fixes in dialog.