refactoring TTS code in ShowDialogMenuAction