private void OnShowToast(ShowToastMessage showToastMessage) { var toast = new ToastViewModel(showToastMessage, _chatDocumentCreator(), _bus, _activator); Toasts.Add(toast); toast.Closed.SubscribeOnceUI(_ => { Toasts.Remove(toast); toast.Dispose(); }); }