added cordova alert