Windows modality

Signed-off-by: RomaricDel <delaunoy.r@gmail.com>