ResourceEditor: Fixed some issues with adding new items.