How do I make it so when my dialogue has ended (behaviour tree) something happens?

Basically, I’m trying to make it so when my dialogue has ended, something happens like a wall for example. I can’t seem to get anything to work with the dialogue tree I’ve made.