corrected file dirty handling on table edit