can anyone please tell me if it's possible to create a dialog like the GUIDialogYesNo but insted of yes and no it has options that i can specify?

i searched for code but cant find any could you please just give me a short example. thanks a lot.