Added dialog:last to generated main.gsp in SetupDialogApp script