Auto-focus target element after image is uploaded

This enables document.execCommand to fire no matter the user was
focusing on the element or not.