Trying window.close() with backbutton