Trying to add foreign keys in popups.