Add BDialog class