Called when the HtmlWidget's state is disposed.
HtmlWidget
@mustCallSuper void dispose() { _dispose(); }