Add a nonworking dialog class to window.py