cordova wrapper for dialogs

remove callback

add callback

fix