fixed the dialog construction
fixed MbalApp.run()