Catch dialog save exception