Break words that are too long for dialog

Pull request #3446 improves this case by providing a natural breaking point at all path separators.

I added `word-wrap: break-word;` so it also breaks words that do have enough natural breaking points to fit in dialog for the case in #2247.