[Improvement]: Side panel now closes when clicking outside of it. Close #1