Bug: a widget condition is dropped when the widget editor is opened

The bug is related to the previous bug double click on a widget inside TinyMCE editor does not edit the widget but creates a new one.
The behaviour has been changed but still is incorrect.