Fixed issue with caretask done button and window leak errors in reporting wizard