refresh select input on close