Path for entity embed dialog modified in JS