Substitute dialogs by pointer to wxFileDialog