Send a close message to the window.
This function sends a message of type DWET_CLOSE to the window. It does NOT actually close it.