Add progressdialog & confirmation alert box