private static void SaveInstanceIfDirty() { if (_instanceDirtied) { InstanceUtil.Save(); _instanceDirtied = false; } }