added level method to attach an empty actor to a DOM element