added first draft of unit test for modal dialog display
added a set of tests for delete confirmation dialog display and activity
refactored delete function and added tests for hooks
Merge branch 'delete-confirm' into dev