How to show the action's "Record Stop" dialog box using Javascript?
To show action's "Record Stop" dialog box (I mean this😞

I use this code:
var desc27 = new ActionDescriptor();
desc27.putString( charIDToTypeID("Msge"), "My message");
desc27.putBoolean( charIDToTypeID("Cntn"), true);
executeAction(charIDToTypeID("Stop"), desc27, DialogModes.ALL);//***
app.displayDialogs = DialogModes.NO;
And when user clicks on the "Continue" button - everything works as it should.
BUT. When user clicks on the "Stop" button - I get an exception: "User cancelled the operation" at line marked ***
Mu question is: this is normal behavior, or this needs to be fixed?
