added dialogs phonegap plugin