JBIDE-18031: dispose listener to avoid WidgetDisposedError.