made task dialog non modal

made task dialog non modal with hwnd param as 0