private static void OnClose(bool result) { observableSubs?.Dispose(); dialogManager.CloseDialog(result); }