Each directive applies a different class so they won’t remove each other if they’re on the same element. If either class is applied the element won’t display. closes #5836