Update close modal on task page