Fixed up testEndpoint modal to use a template. Started working on button to create new endpoint. Still more work to do