Make the input box functional.