made textbox appear in place of item clicked