Close window and return to page