switch back to get for the time being
add window.close() test