Fixed bookmark and notes popup behavior