Change the way the items are deleted in AnnotatePlugin on request
from dialogs - when pressing Close after the item has just been
created