feat(api): add basic api to register custom dialogs

all provided dialog types are placed under dialog.types
feat(examples): upgrade basic example to new api
feat(examples): update override to use the new api
Release 0.3.0