fix(examples): make it work with gh-pages
fix(factory): fix condition about unknown dialog
feat(factory): rework create method to pass configuration

This change enable a dialog configuration to be passed as an arguments
instead of using predefined configuration.
Release 0.5.0