can close window after callback
added notes