allow dom nodes as dialog text