Added methods to juibase, jui dialog view and template.