Refactored modal to use event triggering rather than a data-set callback

AFDP-74
Merge pull request #27 from ualerts-org/AFDP-74

Refactored modal to use event triggering rather than a data-set callback