Seems we have a bug here with SUBDIALOG using a declarative dialog with MENU. We will investigate.
I suggest that you use directly ON ACTION clauses in your procedural DIALOG:
function dialogDisplay()
dialog attributes(unbuffered)
display array someArray to screenTable.*
end display
on action add
message "Add Exe"
on action exit
exit dialog
end dialog
end function