Expose Window close request API