CRM-14353 - Cleanup old dialog when opening a new one
Merge pull request #3160 from colemanw/master

CRM-14353 - Cleanup old dialog when opening a new one