implemented confirm dialog and wrapped bamboo requests within an angular promise to have auto scope refreshing