fixed bug with ctools modal popup