Screenwriter described husband’s death as ‘the greatest loss’ of his life