window flags support; window closing support; multiple windows support improvement; about dialog in example1