add on click and input text