Dialogue Plugin

Hello, I am having a problem that might be hard to explain. I have a system in my game that allows the player to “draw” something to the screen by moving the mouse. This works fine, until I enter a dialogue and exit it. After the dialogue has been shown, the mouse keeps pushing back to the first place I click on the screen, like another piece of code is controlling it. I have been unable to find where in the widget or the c++ code this is being done. I also cannot see where it is changing the input mode when you enter a dialogue. Would you have any ideas on where I should look? Thank you. Other than that, this system is working great!