Split from bug 5870.
When adding new items, like a new subcluster or a new profile, the popup shows a Delete button. This is confusing since the new item hasn't been saved yet.
It makes sense that when editing an existing item it should show a Delete button, but not when adding a new one.
There has been logic put into place to handle the popup title when adding new items. This was done as part of bug 8075.
There are still some holes in that logic. However, in general, we should be able to piggyback on the same logic to solve this bug. The same criteria decide if we want to hide the Delete button and if we choose to show a “Adding new item…” title.
*** This bug has been marked as a duplicate of bug 3903 ***