adds openOnClick popup option

For #3058 
good call, updated