Maybe, the thread that you open the modal dialog in it is the same with the other thread that controls the signals.
According to my knowledge in windowsform C#, these dialogs stop the thread untill you close them(for example clicking on OK).
So, seperate the threads of it.