Avoid empty div when button group is empty

Avoid empty div when none of back, reset and delete buttons are shown.