fix(ihm): detect if frame fdoc is on doc admin context (closes #4582)