I also dont feel it is a bug. Once you actually return to the original
document (with the open ERT window) and type anywhere the text disappears
(on my win32 setup at least) and the box returns to its empty state
(albeit with what you just typed in it!)
I think this is a pointing device problem not a lyx one.
Geoff