feat (TaskPanel): add unit test for modal