public void RemoveTab(WebViewContentViewModel vm) { if (WebViewTabs.Count == 1) { Home(); return; } vm.Dispose(); WebViewTabs.Remove(vm); SelectedTab = WebViewTabs.First(); }