Browser Bean Issue

Hi

I am getting the attached error when the browser bean is called for the second time ie on first load its ok and thereafter I get this error - anyone explain what it means ???

My code calling it is

//popup window
forms.scan_ImagePreview.elements.browser.buttonBarVisible = false;
forms.scan_ImagePreview.elements.browser.menuBarVisible = false;
forms.scan_ImagePreview.elements.browser.statusBarVisible = false;
forms.scan_ImagePreview.elements.browser.locationBarVisible = false
forms.scan_ImagePreview.elements.browser.navigateTo(‘http://admin.clickdigital.com/share/T_612_10_1_ffa4f4d8’)
forms.scan_ImagePreview.elements.browser.addAuthentication(‘http://admin.clickdigital.com/’, ‘username’, ‘password’)

var noteswin = application.createWindow(“Image Preview”, JSWindow.MODAL_DIALOG);
noteswin.show(forms.scan_ImagePreview)

this is one of the known issues on MAC.

if you make it NON modal than it works oke.

Thanks Harjo, will make the changes as you suggest.

Gordon