Fix #6774, Moving start/end markers doesn't set Session as modified/dirty