Fixed job UI cancellation

It was broken since the modernization.