removed content not getting cleared after task modal is hidden bug