function pagedataDestroy(dom_scope) {
    if ( typeof dom_scope === 'undefined' || dom_scope === false || dom_scope === "" || dom_scope === 0 ) {
        dom_scope = 'ul.pagedata-list';
    }

    $(dom_scope).find('textarea').each(function(index, el) {
        var escaped_id = ($(el).attr('id')).replace(/\[/g,'\\[').replace(/\]/g,'\\]'),
            t = tinyMCE.get($(el).attr('id'));
        if (t !== null && t !== undefined) {
            /*
             * if a user clears cache, redirects away from a page and tinymce hasn't
             * properly finished loading - tinymce thorws a fatal error. Only solution
             * is to simply catch it there are no checks that could be done.
             */
            try {
                tinyMCE.remove("#"+escaped_id);
            } catch (error) {}
        }
    });

    $(dom_scope).find('*').off();

    //This was failing for an unknown reason intermittently when saving after a grid column is removed
    $('input.imageUploadifive, input.fileUploadifive, input.imageMUploadifive, input.fileMUploadifive').each(function() {
        try {
            $(this).uploadifive('destroy');
        } catch (e) {

        }
    });

    pagedataDestroyCustom(dom_scope);
}
