Creating widget using dialog works with cache.
Iframe is waiting for document to put content into it.
Hack for FF: FF does not emit load event if iFrame does not have src or have it blank.
Smarter way to crop \( and \) in dialog.