docs(dialog): fix sample code