Pressing escape now closes sections or work panels

Added escape button funcionality. Thought that would improve the example.
Thank you for sharing your code!

Regards, Jonas