dialog now handles line breaks