title: Loading BootstrapDialog with RequireJS
body: <p>I am trying to load BootstrapDialog <a href="http://nakupanda.github.io/bootstrap3-dialog/" rel="nofollow">http://nakupanda.github.io/bootstrap3-dialog/</a> with requireJS but so far I am unsuccessful as it is always null. </p>
  
  <p>This is my current configuration:</p>
  
  <pre><code>//main.js
  require.config({
      paths: {
          jquery: '/js/libs/jquery/jquery.min',
          underscore: '/js/libs/underscore/underscore.min',
          backbone: '/js/libs/backbone/backbone-min',
          bootstrap: '/js/libs/bootstrap/bootstrap.min',
          bootstrapDialog: '/js/libs/bootstrap/bootstrap-dialog.min'
  
      },
      shim: {
          bootstrap: {
              deps: ["jquery"]
          },
          bootstrapDialog: {
              deps: ["jquery", "underscore","backbone", "bootstrap"]
          }
  
      }
  
  });
  </code></pre>
  
  <p>And a module example:</p>
  
  <pre><code>define([
      'jquery',
      'underscore',
      'backbone',
      'bootstrapDialog',
  ], function($, _, Backbone,  BootstrapDialog){
      console.log("New bootstrap dialog");
      console.log(BootstrapDialog); //BootstrapDialog is always null
  });
  </code></pre>
  
  <p>How can I intergrate BootStrapDialog with requireJs ?</p>