Added support for HTML Template for the custom dialog and updated the examples
Added support for HTML Template for the custom dialog