Added the AlertDialogs for the decrement checking