Fixed preview in ctools modal