Disable Dynamic Container's "Close this Tab" option
In our portal we are using Dynamic Container to have the multi tab functionality. Our requirement is that whenever user wants to close any tab , they should be given some custom messages in modal window. For this requirement , we want to disable the dynamic Container's "Close this Tab" option(as shown below) and will only allow user to close the tab from a custom button. as this is an OOTB feature , how this can be disabled? If at all this can be done , can we also add a condition which if returns true will make this option disabled?