Add WM_DELETE_WINDOW protocol to top-level window