The reason why the Close function does not close the browser is because when opening a Survey by clicking the Survey link, this opens a new browser window/tab, when selecting the 'Click here...' button, the Close function will call a Window.close() method to close the current window. This was designed for legacy browsers, e.g. IE, which will lead to security issues or loss of data when closing the browser window/tab which was opened by users not the application.