enter button can be used to close gui