If closing the run dialog with the x, the contents of the text field are not cleared and are still present when re-opening the run dialog