add focusout events on entityId textbox