Working prototype for purchase dialog