Hide empty modules for smart content in drag and drop editor

It is a basic feature that should already be implemented.