Dialogframework widgetVar migration.

git-svn-id: https://primefaces.googlecode.com/svn/primefaces/trunk@9517 5a70e874-a5cb-11dd-8af2-493fb0bb9f7c
minor refactoring

git-svn-id: https://primefaces.googlecode.com/svn/primefaces/trunk@9519 5a70e874-a5cb-11dd-8af2-493fb0bb9f7c
#5852

git-svn-id: https://primefaces.googlecode.com/svn/primefaces/trunk@9520 5a70e874-a5cb-11dd-8af2-493fb0bb9f7c
#5766

git-svn-id: https://primefaces.googlecode.com/svn/primefaces/trunk@9522 5a70e874-a5cb-11dd-8af2-493fb0bb9f7c