Popover menu for normal page results - not dynatree

Permalink
I'm having a search results table where I want to popup the "popover-menu" like happens in the dynatree sitemap (dashboard/sitemap/full) - when you click a link.
-- Concrete5 version 5.7.4.2 --

$(document).on('click', '.pop-dat-menu', function (e) {
var me = this;
alert('Pop up Menu');
});

Of course, on the place of the alert, I want the menu. I've seen bits and pieces of code, but I'm not sure if it's all dynatree related or not. Anybody got a clue how we can get this working? I already have full details of the pages, only need to know how to get the menu to pop!

Copy/pasting the HTML of this popover works, but I'm looking for a solution to get it to work with the code of the core, not by "cheating" :)

ramonleenders