Add saveEndpoint to vars, make the clipapp buttons as part of elts object if need to make it generic