allow custom element creation only if at least one has been created in the main document.