modal dialog in cocos2d-android