Phonegap Plugin that show or dismisses a Progress Dialog with a custom text