Maybe just cloning a node already in the DOM here would be more readable since we just need to change it's ID.