Is there a way to conditionally modify the dropdown menu options?