add directive modal box