U3DXT basic Dialog box Question

I just bought the u3dxt plugin and want to display a simple dialog box with a “OK” and “Cancel” buttons.
this makes that happen
GUIXT.ShowAlert ("Title", "Body", "OK", new string[] { "Cancel" });

but how to do i know what button was pressed?

Hi, you can subscribe to GUIXT.AlertDismissed event (http://u3dxt.com/api/?topic=html/E_U3DXT_iOS_GUI_GUIXT_AlertDismissed.htm). The example in Assets/U3DXT/Examples/core/GUIBasics has code on how to use it.

i have another question about AlertDissmised. If i have two dialog boxes and a ok button for both how would i check which “OK” was clicked?