Created textBox object, and created a function that detects whether or not it was clicked on.