make centered dialog boxes potentially narrower -- fit to length