configure all popups at once

@feesh -- if you want you can use the same css class for both popups, or
keep them separate and comma-separate as i've done here.  You can't
declare the popup thing twice though apparently.