added progress dialog to add item