Ensure Cocos2dxHandler doesn't keep invalid EditBoxDialog