end day commit(working with new window)