docs(dialog): document the new material dialog api