adding confirmation dialog for buying item