Break words that are too long for dialog

Pull request #3446 improves the case in #2447 by providing a natural breaking point at all path separators, but doesn't fix all cases. I added `word-wrap: break-word;` so it also breaks words that do have enough natural breaking points to fit in dialog.