Add SetCurrentName method for file dialogs.