Added confirm functionality.

Change-Id: I457dd5189785a8dd9bf9b27b485ef73ad1753886