activate correct option in foreign key dropbox upon editing
saving edited form now works