Added ability to delete resources from the panel.