Blueprint Dialogue System

The Dialogue Component should know if it is managing a visible dialogue UI (OwnerHasActiveDialogues checks to see if the owning actor has any other dialogue components too), so yes, the logic should work if the code you took a screenshot of is executed.
I wouldn’t be surprised if the code is not executed though, because the dialogue places the input mode into UI Only.