File save error handling

This adds a a simple error dialogue to tell the user when a file save operation has failed.