in the next fieldset, which would return none since the buttons in the
bottom are the last siblings in the DOM tree and next() doesn't loop back
to the first sibling.
Changes were made so it looks also in the previous sibling.
Plus a quick fix in the view which had incorrect class names (Issue 2820)