Rewrite included If Widget in RPW, added dynamic elements