English: Implements automatic selection when the dropdown is closed.
Dutch: Implementeert automatische selectie wanneer de dropdown is gesloten.