feat(dialog): add docs for the dialog directive