Adds handle removal on clicking the badge 'x'