Please also see the following post which details an issue in a similar context in the HtmlDialog in SketchUp: