Make UiComponents IDisposable