Create logic in the template to detect if the field collection should be modaled or not.