ports changed to constants.
replaced depracated methods
replaced depracated methods
Changed radiochoice panel with enum values.
new example that demonstrates the replaceWith method.
New behavior created that popups an overlay panel.