Let yes/no dialog accept 'y' or 'n' as input

Change-Id: I6680e13c55568f42e07f62eeb496bc7d23a322f7