fixing task dialog