also allow to style dialog created through bindEvent