Overlay Not Working (10.08.01.33)

My overlay component is not working. It works when tested in the template library but not in the model. It may work 5% of the time. See images below. Any idea as to why it is not working?

Works

Does not work

Parents Reply Children
No Data