Fix bug where unload prompt appears for new blog posts