edited and added buttons across pages. My Notes and type values are coming up as undefined. The problem is somewhere in the <select> optgroup element. still trying to figure these problems out.