correctly setting up delete-selection-mode