Fixed bug deleting annotations from dialog