Dion of the Liberal Party and Jack Layton of the New Democratic Party signed an accord stating that in the event that the government lost the confidence of the house they would form a coalition with the support of Gilles Duceppe and the Bloc if asked to do so by the Governor General of Canada Jean .