add open file dialog for emulator.