feat(factory): add configurable dialog factory
feat(example): switch to dialog factory
fix(example): add dialog type to each configuration
Release 0.4.0