remove csstidy dependency
fixed close event for site panel