print and close this window