Fixes issues with K2/Joomla modal popups