Minor fix for cross-domain file selection feature