Ok, now I understand how you implemented that. As it seems, you try to have a real-time sampling of the existing UI components of the underlying form,
that are alive "somewhere" in memory.
I thought you make one screenshot. For me a single static screenshot would be enough, but I see that it can be not practical for other developers, so they would not use the Dialog at all in presence of a BrowserComponents (useful for maps, instructions viewers, payment screens, and so on).
But at this point I think you have the possibility to create a method like:
WebView.setScreenshotFramerate(int value)
where value is 0 for static refresh
10 is ten per second, and so on.
There is a caveat for the developer who has to test it on real devices if necessary and create a table of values
or, as in my case, just put 0 for a simple solution.
0 corresponds to a convenience screenshot not to see the BC become blank. In my app this means that almost all the UI disappears. And so it is also where a map is displayed, or an on-line payment is going on, for example when the security code has to be entered over the credit-card webpage.
Regards