Modified sub window close and transfer parameter