1require(
2 ["base/js/dialog"],
3 function(dialog) {
4 dialog.modal({
5 title: 'Hello world',
6 body: 'Hi, lorem ipsum and such',
7 buttons: {
8 'kthxbye': {}
9 }
10 });
11 }
12);
13