Added a close button for resource collection boxes