Dialogs can be easily integrate into the Webpack build by referencing the ViewModel
as a direct dependency, and passing it to dialog.show as the first
parameter, instead of the usual moduleId.
We can also fetch dialogs on request using Webpacks require.ensure Code Splitting
functionality!