show warning when editing a post that has a duplicate title