need to set the focus otherwise inserting an image with no other content does not update the hidden html field