Revert "Remove "Close Task" button"

This reverts commit d2ead465f38e659de77e8ba57cacd8a75b697f4c.