prevent overlay init if parent element does not exist