insert before button

Insert before is starting to work. Fixed up the input box for changing
name