Converted create resource button to a menu button, and fixed an issue with multiple resources sharing the same id.