There's a possible bug in dia-0.91-pre3: I opened an existing
diagram, made changes to the text string of a Text object, and
the diagram was not marked as 'modified', and I could close
the window without being prompt for saving the diagram, thus my
changes to the text string were lost.