I would if I knew exactly what I was doing

The dialog title needs to be dynamic and change with each product.
i.e.
'Contact us for a price for <product 1>'
'Contact us for a price for <product 2>'
'Contact us for a price for <product 3>'
etc etc
where the product title is pulled directly from the product listing which is database driven.
I would really appreciate it if you could put something together for me.
Thanks
Mark