Clicking outside of the task view will close the panel