Create undoclose.py