dialog text alignment centered for short strings