Saving the context fixed the issue:
Button("Add") { let newModel = MyModel(name: "Example") modelContext.insert(newModel) try? modelContext.save() // Added this line. selectedModel = newModel }