Update contextMenu sample, add Dialog sample

contextMenu sample now adds items to launcher, uses cleaner event
registration. New sample for <dialog> element