It does not explain why the `.off('click').on('click')` code is on this line (guessing it's because popover DOM elements are reused).