To open a dialog (backup dialog) I am using the following link in my navigation menu:
<a href="backup" data-dialog=true>Backup</a>
In production this was just a temporary workaround which needs to be fixed in final release.
So, how can I open the dialog using a javascript function which is executed by the event bound to the modal's button?
event: function(){
globalMsg("opening backup dialog", {level: 'info'});
// TODO: Call <a href="backup" data-dialog=true>Backup</a>
}