Abstracted share and buy popvers with partials and local variables