added alert when user edit a blog post