Shrink dialogs to fit text