Add clearing to dashboard panels. Fix #485.