Support windows and its strange popup behavior