The issue is that when I invoke window.close() or self.close() it doesn\'t close the window. Now there seems to be a belief that in Chrome you can\
window.close()
self.close()
Try something like this onclick="return self.close()"