EnhancedDataManager: change layout for viewRecord()

I am trying to load the view record page in a modal and apply a custom layout at the same time, so far without success. The existing customization interception points( e.g. postRenderRecord() and preLayoutRender()) seem to have no effect on t

Looking at EnhancedDataManagerbase.cfc and it’s viewRecord() method, it seems that it first runs the record based customizations and then applies the configured admin layout:
line 81: _overrideAdminLayout( argumentCollection=arguments );

In case the parameter rc.modalView evaluates to true, it overrides the layout with “adminAjaxModal” in lines 84-86:

if ( IsTrue( rc.modalView ?: "" ) ) {
	event.setLayout( "adminAjaxModal" );
}

As I understand it, this does not leave room for other layouts.

I think the last step should be to either announce an interception point that allows for modification of the layout (preLayoutRender ?) or run the corresponding customization.

I would be happy to provide a PR for this, but, I want to make sure I am not missing a simple solution.

Thank you in advance!