How to dynamically open/close popover/tooltip - for product tours

I haven't but it might be worth looking at this thread where some suggestions were made. This looked like a good option for example.