allow user to delete a todo entry by clicking on the x