Simple dialog
waitingDialog.show();
Dialog with custom message
waitingDialog.show('Custom message');
Dialog with custom settings
waitingDialog.show('Custom message', {dialogSize: 'sm', progressType: 'warning'});
Dialog with some callback firing after it was hidden
waitingDialog.show('Dialog with callback on hidden',{onHide: function () {alert('Callback!');}});