implements task cancelation and refunds modal