20130410 Changes to mymedia.js

Cleanup of scope conflict issue - the variable dialog was declared
twice in the same scope and was keeping the notification dialog html
from rendering