fixing bug with addition of new node and reording form buttons