LPS-34188 Add main.js to all portlets where the export dialog can be displayed

@LeventeHudak