keep form field focus if element id is available