I think it would make sense to have one global modal dialog, which will be used by different directives. The directives would inject their html into it. Quite a few components will need a global dialog (see dev_help, which also has a modal dialog)

That's probably something for another PR