adding clear button to text inputs