added call to onLoad.setFocus() when a form is replaces to ensure the right input fied is getting focus