Attaches an untracked to the internal context and marks it as modified optionally Note: child elements need to be manually added.