exception should not raise on pressing enter on text box for add property