Fixed detail popup validation bug