detecting DOM changes and filling ideaId properly