Initialize container element when element is attached


If a container for the context menu is specified and removed from the DOM (e.g. when the page is updated via client-side routing), it has to be re-instantiated, so that the context menu is rendered into the current DOM tree.