Update to allow grid search insertion at a specific index rather than just at the end of the toolbar