phonegap: use native dialog UI elements

Use native dialog provided by org.apache.cordova.dialogs plugin.