adds openOnClick popup option