fixed bug with edit session reverting.  Now it only reverts if it doesn't have focus any more