fix(array): fix array add button (refs #2627)

The first button add a line in the first line
The other buttons add line after the current line