FlowRouter.route('/sample-overlay', {
    name: 'sampleOverlay',
    action() {
        BlazeLayout.render('defaultOverlay', {main: 'sampleOverlayPage'});
    }
});
const samplesSection = FlowRouter.group({
    name: 'samples'
});

samplesSection.route('/sample-overlay', {
    name: 'sampleOverlay',
    action() {
        BlazeLayout.render('defaultOverlay', {main: 'sampleOverlayPage'});
    }
});
Refactor samples route.