fixes #4641 Related content missing when edit related content and cancel