#1639: Auto-select a file when a file link is selected and the dialog opened.