Update close-on-hide.py