SM: fix possible WidgetDisposed exception