add remove button and its handler to the component