Modes and modals

I am creating a prototype using variables, the prototype has a button that triggers a modal. Easy enough but here’s the issue:
Although the modal’s mode is set to Auto it does not inherit the mode from the frame it appears in. Is there a way to get a modal to inherit the mode of the frame it appear in?