Fixed responsive popup behavior