fix WDialog regression in Bootstrap theme