Removed the use of remove() method

When hiding and showing the popover the bound events were removed from the element, because of the use of ``remove()``. That means that if you have custom popover template which has some clickable dynamic content it only works on the first show of the popover. Therefore I put in place a simple fix. Let me know if this can be merged in or if not, how would you do it differently?

Thanks a lot.