Thank you for your post.
The custom dialog is being triggered by the first tap. The user's 2nd tap would trigger the script a 2nd time.
The test file shows a custom dialog attached to the OnGestureTap trigger, which will never show the second tap because the first tap will activate the dialog.
As a workaround:
1. Lock the screen's zoom to 100% with an OnLayoutLoad script trigger
2. Place a merge variable on the layout <<$$VAR>> and name the object "A"
3. Run the following OnGestureTap script trigger:
Set Variable [$$VAR; Value:Get ( TriggerGestureInfo )
Refresh Object [Object Name: "A"]
This method allowed me to capture "2" for the number of taps.
Clearly, the documentation on this new script trigger needs improvement.
This does raise implementation issues for what I had in mind. I was hoping to combine the functions of two buttons into one to save precious square millimeters of layout space. A single tap would activate the button and perform a script to edit a child record, while a double tap would open the parent record for editing. Right now I can't see a way to have a single tap and a double tap at the same coordinates produce two different results without some sort of built in delay that isn't really desirable....