Just make the non selected value in your actor drop down list to be value=0. Then do a check to see if this value is greater than 0, if so then just insert the id, if not then check to see if the field is filled out and insert that data into your actors table then use that id to fill out the other record.