Marionette.Modal
Dialog library based on Marionette framework.
Ideas
Usage
You should import marionette.js before.

After loading the library you should prepare HTML with minimum markup in any place.

And sure you are imported the base styles from marionette.modal.css.

Next you should create one of modals controller instance by new Mn.Modal and use it.

Controller methods
Mn.Modal.prototype.add

This method take only one argument like a Backbone.Collection. Object or Array. Each Object can contain some following parameters:

View

Any valid Backbone or Marionette view class.
Will create a new instance of that View after adding. The instance will inserted into a new modal window.

isActive

Initial activity flag.
If true — will show immediately and tries to hide current active window.
If false — will show only if no other active windows are shown. Otherwise will rendered on background.

group

Specify group name of modal window. It allow using some addition logic:

effect

Show/hide animation effect name. Possible values:

TBD...

TBD...