Fixes for K2/Joomla dialogues