End of lendDialog