3.0 add usage of ESC

Ref to #224 .
Add the possibility to close panels then collapse sidebar with Esc.

I don't think so because this event is only attached to the iframe.
But I could try tomorrow...
I'm OK to remove all the "return false" and replace the second if by a "else if" if you feel it will be better