I cannot remember if there is a quest to sell the chapter 12 portal. There are a couple of chapters that do not have that quest and Elementals may be one of them? As for the other guest race buildings, it is the same thing from chapter 6 to the final chapter, as soon as you are done with all the research and quests for your current chapter, all those buildings can be sold off.