Added a status bar class to control dialog