You should add a confirmation dialog before allowing users to delete a collection.
I created a collection earlier today with multiple modes and filled it full of variables. When I went to rename my collection, I accidentally selected “Delete collection” which is right below “Rename collection”. Then all of my work was gone.
By adding a confirmation dialog asking if the user is sure they would like to delete a particular collection, with options to confirm or cancel, that would be a better user experience.