BZ-1069117 - Modal with NPE shown after comleting a Human Task in task list

(cherry picked from commit 51bb09ca43f0ec3bb626392a15e0c810740d3ea9)