Press escape key to close the panel