emit doc with session done event