public IActionResult OnPostAddOption() { DialogueSystem.SaveChanges(DialogueId, SubDialogue); DialogueSystem.AddOption(DialogueId, SubDialogueId); return(RedirectToPage("Dialogues")); }