added setting to enable/disable file dialog on startup.