How to remove component that is empty on dynamic page?

@jvirgen05 - Did you find a solution for this?