Lazy provision of FileDialogs to avoid DI bug in desktop

Thanks to @jmcphers for help in fixing up this one