fixing add all layers functionality
dropdown caused error with removing non-existant layers