Add word-wrap: break-word to .dialog-filename

Fix #2247