Fix up Attribution form.

Properly populate dropdowns. Clear dropdowns before re-querying for
values. Accurately set the first option to selected when the form is
generated on the page so we wind up querying for available values.