add remove resource button to resources