improvements to ValueLoaderDialog + tests