On clicking 'x' the element should vanish.
To do this need to add a click handler