Hey there I've got a problem. I wana get a Alertdialog which comes when a Button was tapped. The button got the ID "berechneButton". I tried something but in won't work.
This is my code:

In the Setup Assistant:

Mojo.Event.listen(this.controller.get("berechneButton"),Mojo.Event.tap, this.handleEvents.bind(this, "ergebnis"));
My Event (Alert) which should started after the button got tapped:

SceneAssistant.prototype.ergebnis = function(event) {
        title: $L("Ergebnis"),
        message: $L(" €"),
        choices: choicearray

What I'm doing wrong? Where is the mistake?
Thanks a lot for your help!!