Rewrite ForceVariableDialog. It's not based on wx.TextEntryDialog
Don't customize standard wx.TextEntryDialog on the fly, implement your
own dialog for that with expected behavior and without any hacks.
<?xml version='1.0' encoding='utf-8'?>
<BeremizRoot URI_location="LOCAL://">
<TargetType/>
<Libraries Enable_Python_Library="true"/>
</BeremizRoot>