only creating element if element does not exist and no template is passed in