DAR-2604: creating unit test for modal component