Thank you everyone especially Geoff and Mark. I ended up making some UI improvements, using a flag, and the focus tip from Mark so now the "Import" button is only enable when all fields are closed AND validated! I should have thought of most of this myself, but some days you have to write code when your brain would rather not.