New closing method

Removed the backdrop functionality as we do not need it on popovers and
instead use a click event on the document to close the popover. That
way nested popovers will be closed if the parent is closed in one click