Button on/off staying on

Here is a clue :
In the VB component started with the Button, I have been replacing the following line, warning the end of the Word generation to the user :

Rhino.UI.Dialogs.ShowMessageBox(“It’s finished!”)

by

System.Windows.Forms.MessageBox.Show(“It’s finished!”).

(I did that because Rhino.UI.Dialogs.ShowMessageBox() has been been removed in Rhino 6 and i want a code compatible with both Rhino 5 and Rhino 6)

With the System.Windows.Forms.MessageBox.Show() call, the bug is systematic, not depending on that fact that the decoupled scenario is implemented or not.

JL