Gh167 loc new elem dialog

issue #167