when it had become a dome , the town had gone through significant modernization and gentrification , briefly functioning as a tourist destination before traveling became restricted and the railroads died .