Basically my dialog box asks for a number, I’d like to display an error and close that program if a word is typed or the input box is closed. Yes this is for homework but its for bonus marks since our instructor hasn’t shown us how to do it.