I have no idea what is the cause of this. It may be a tkinter bug or I may not be handling filedialog correctly. This happened on OS X and Windows 7. I can't reproduce this bug.