SuppressLint for default locale check.
Created a callback setup for MorseInput, where when the MorseInput dialog closes, a function is called that is specified in the MorseInput_setup function.