Add initialization examples to tooltip and popover "Opt-in functionality" callouts

Fixes #14950.
Closes #15015 by merging it.