Create generic context menus on the fly in bootstrap style