Update from dialog to PopUp Widjet

Dialogs are  deprecated since JQM 1.4 and will be gone as of 1.5