Added user input to close.