Prevent onchange event firing from undesired operation

Prevent onchange event firing when click outside of dropdown.