location history implemented and used for closing inspection detail view