added a simple handler for inserting boxes at the end of a row
M
made sure the select box gets set properly