Reset modified state of the recovered files correctly
KUndo2Stack doesn't emit any signals if it is empty, so we should take care about that separately.