This module is intended to guard against a rare but unfortunate case where a Ctools modal is triggered from within another Ctools modal. Normally, the first modal simply closes, which can be frustrating for users. This module gives the user the option to open the second modal in a new browser tab.

An example use-case: The site uses Panelizer, and a user is configuring a Fieldable Panels Pane on the page, in the normal Ctools modal. If the Fieldable Panels Pane has a file field which uses the Media widget, and the user clicks "Edit", the Media widget opens another Ctools modal for editing the file. Voila, double ctools modals.

In fact, the Media module's widget's "Edit" button is the only use-case this module supports, out of the box. I don't know of any others that need support, though I'm sure there are more. Feel free to create issues about any other cases you can think of.

Supporting organizations: 
Development sponsor

Project information

Releases