There are 2 parts to what I need to do:

i) When the user clicks on the new icon it should show a popup asking whether they would like to save the current file eg. like most applications do.

ii) To be able to save and open files, possibly in my own format???

Can anyone advise on how to do this, I've been advised on Zinc but am not sure how that fits in here and so how do you more experienced users implement these features in your works???

Many thanks