You cant create a dialog on map init.
You have to use the Event "Time - Elapsed game time is 0.00 seconds".
In the trigger, you create dialog buttons (and after each create, you save the last created dialog button in a variable).
Then in another trigger, you have the event "Dialog - Button clicked for MyDialog" and use if statements to check which button it was.