directives create modals

Signed-off-by: Predrag Kanazir <predrag@arraystudio.com>