get pages in xMenu ipdated for null parents and owner template is updated for tinymce dialog focus