add confirmClick directives