Javascript for app.alert questions in adobe pro
I have a script for app.alert with a yes or no question. That same button has an action trigger on mouse up with the javascript to run which is the app.alert asking "do they want to continue?" and another javascript to hide different fields, then an execute menu item to save as and submit form. What javascript can I write for when the user answers yes then it will execute all the action trigger, but if they say no or just close out the box it will do nothing and NOT execute the other trigger/commands?
Thank you so much in advance!