Click outside of task window to close popup