added save error dialog