Close the secondary toolbar when an action is only performed once