Adding functionality - when clicking on Cancel button, any text inputted into the input field is automatically deleted and reset