SaveAs warning messages and using FileDialog

* FileDialog is more MacOSX-eqsue
* Save as warnings nearly work, they compare petri nets
* Sadly petri net naming does not work yet
* On pressing no two events are fired on macosx needs fixing