fix local changes after saving draft or release

Signed-off-by: Thibaud Arnault <thyb@oauth.io>