fix a WDialog regression in bootstrap theme