Close button code?

I’m currently using the following code:

Code:
on (release) {getURL(“javascript:window.close();”);}

to make a button close the window on a feedback form, but when click another pop up comes up saying “the browser is trying to close to the window, do you want to close the window” or something like that. Is it possible to just make the window close without this pop up?