Since you are leaving the page to do the insert, I moved the code to the onfocus of the body instead of the onfocus of the select list. Re-writing the select list as you focus into it was causing issues.
I also added code to the plugins to make sure the previously selected value stays selected.