added dismissing editor view controller after saving the post