This function returns a grid containing the buttons created.
&$buttons
buttons
Returns grid containing the buttons created.