Added popup content parsing