update uiFlashMessage to use handlebars template