Oops! The modal has to be hidden after the task has been done.