Implement generic file browsing dialogs.