They only need to be executed once. When the widget initialises it binds the functions and when it closes the popover gets destroyed.