Hello,
You do not have to include the JS/CSS Linkings in the AJAX Page codes. You can simply use the Elements, Classes and DIVs used from the Default Templates as the Styling is taken automatically from the Main Page. Example, you can consider using the following code:
.. Your Content
And for the Tabs to work in the AJAX Modals, simply add the following JS code at the bottom of the Page just after the js/functions.js JS File Linking:
jQuery('[data-lightbox="ajax"]').on( 'mfpOpen', function(e) {
SEMICOLON.widget.tabs();
SEMICOLON.widget.tabsResponsive();
SEMICOLON.widget.tabsResponsiveResize();
});
This will definitely work fine. Hope this Helps!
Let us know if we can help you with anything else or if you find any further issues.