I have one page with one config file but under certain conditions I want to hide some buttons.
(For example, in a modal vs standard window)
Here is the button in question.
It's fairly easy to add the button and then remove it later however the group that surrounds the lone button does not go away when it's empty.
This is what I am left with:
Is there a way I can remove that empty group?