modify note form, fix multiselect issues