This post is related to
but is a different way of tackling the problem.
The idea is to use the JqueryUI.module in the front end to present a restricted access admin page in a modal (class pw-modal). However the JqueryUI module doesn't seem to work properly in the front end (I have it working in the back end OK). I'm guessing that this is because the front end page has not loaded all the .js that is needed (that would normally be loaded in the back end). My _main.php loads the following from the core at the moment:
'wire/modules/AdminTheme/AdminThemeUikit/uikit/dist/js/uikit.min.js'
'wire/modules/AdminTheme/AdminThemeUikit/uikit/dist/js/uikit-icons.min.js'
'wire/modules/Jquery/JqueryCore/JqueryCore.js'
'wire/modules/Jquery/JqueryUI/JqueryUI.js'
Any ideas what else I need, or have I got hold of the wrong end of the stick?