Anders Ekdahl's editable-select with some mods