Now implemented more generic popover directive.