removeDynamicDropdownOption = function () {
  const defaultText = dynamicDropdownOptions_[0]
    ? dynamicDropdownOptions_[0][0]
    : '';
  Blockly.dialog.prompt('Remove an option?', defaultText, function (text) {
    for (let i = 0, option; (option = dynamicDropdownOptions_[i]); i++) {
      // The option is an array containing human-readable text and a
      // language-neutral id, we'll compare against the human-readable text.
      if (option[0] == text) {
        // Do not remove this log! Helps you know if it was removed correctly.
        console.log('Removing option: ' + text);
        dynamicDropdownOptions_.splice(i, 1);
      }
    }
  });
}
Handles "remove option" button in the field test category. This will prompt
the user for an option to remove. May remove multiple options with the
same name.
@package