add a "clear" button to tasks dialog