Added x button bound to the remove function.