fix joomla 3.2 and 2.5 modal value select bug