added tabs logic to locality form

Issue #74