Hello,

This should be very basic, but for whatever reason I can't get it to work correctly: any help would be appreciated.

I have a button (button1) that when clicked brings up an AlertDialog with some information and a dismiss button. Once the dialog is dismissed it should push a new scene.

The problem: When I press the button (button1) it immediately pushes the next scene without bringing up the AlertDialog.

Code:
button1Tap: function(inSender, event) {
      this.controller.showAlertDialog({
      onChoose: Mojo.Controller.stageController.pushScene("scene1"),
      title: "Incorrect!",
      message: "That is the wrong answer.",
      choices:[
              {label: "Dismiss", value:"", type:'negative'}
              ]
      });
},
Where am I going wrong?

Thanks,