Created Angular directive for a confirmation dialogue with a modal.