Add Related Elements Editor Functionality