Try this: https://mcstacker.net/npc/
It is a well-known command generator that can allow you to add custom dialogue and action to your entities.
To get a description of a property, click the question mark button, and you will get a description.
It works through a data pack, which you can embed into your world file.
You will need to Summon each separate armor stand with a specific tag. Armor stands with the same tag should do the same thing.
There is a tutorial on the page. If you are using Minecraft Realms, the installation of a data pack works differently. You must download the world, open it to LAN, install the data pack, run the command "/reload", and then upload the world back onto Realms.
You can generate complex commands at mcstacker.net these commands should be used in a command block.
You can use it to summon any entity with any property available in Minecraft. It also has descriptions of each property via the question mark button.
It may be useful to create a spawn egg for a specific armor stand with specific tags. If you would like to do this, do not use the give spawn egg command, but the give armor stand command. The spawn egg will not summon armor stands correctly.
/tellraw @p ["",{"text":"text\n","color":"red","bold":true,"underlined":true},{"text":"option 1\n","clickEvent":{"action":"run_command","value":"setblock cmd"},"color":"none","bold":false,"underlined":false},{"text":"option 2","clickEvent":{"action":"run_command","value":"<setblock cmd>"},"color":"none"}]
all you do is just keep adding more text and editing the text i recomend using the click events to trigger setblock commands that sets a block of redstone to trigger a command block depending on the option that way each command block will be fore one option and you dont have to worry about the head ache of nested commands
I don't believe a click event will allow you to run multiple commands on one event, and I think it is limited by permissions.
1