Multiple InlineDialog components in a Modal component

Hello,

Is it supported to have multiple InlineDialog components inside of a Modal component? For example, lets have InlineDialog1 and InlineDialog2 inside of a Modal. Then, if you have InlineDialog1 opened and then you open InlineDialog2, would InlineDialog1 close automatically, like it works when the InlineDialog components are not inside a Modal component?
Consider that using the isOpen prop of InlineDialog cannot be used, so a dialog should close automatically if another dialog is opened.

Best regards,
M.