What would be the most convenient way to change the set of visible relation managers according to the active tab in a form of a edit page?