Updated the closed signal in the task model to open/close the milestone of the saved task